package uos.gcds.stock;

import uos.gcds.Item;
import uos.gcds.ingredient.Ingredient;

public class Stock extends Item {

	private int qty;
	private Ingredient ingredient;

	public Stock(Ingredient ingredient, int qty) {
		this.setIngredient(ingredient);
		this.setQty(qty);
	}

	public void setIngredient(Ingredient ingredient){
		this.ingredient = ingredient;
	}
	
	public Ingredient getIngredient(){
		return this.ingredient;
	}

	
	public void setQty(int qty){
		this.qty = qty;
	}
	
	public int getQty(){
		return this.qty;
	}

	@Override
	public void updateItem(Item desc) {
	}

}
